#pragma once
#include <QSlider>

class TimeSlider : public QSlider
{
    Q_OBJECT

public:
    TimeSlider(QWidget* parent = nullptr);
    ~TimeSlider();

private:
    bool eventFilter(QObject* watched, QEvent* event) override;

private:
    void on_mouseLButtonPress(QObject* slider, QEvent* event);
    //void SetTimeRange(qint64 value);
    //void SetTimePos(qint64 value);

private slots:

signals:
    //void sig_sliderMoved(int value);

private:
    int is_slider_pressed_ = false;
    int slider_height_     = 15;
};
